<template>
	<view>
		<!-- 头 -->
		       
	<view class="nav">
				<uni-nav-bar class="header" :border="false" dark color="#000" backgroundColor="#fff" left-icon="left"
					leftText="返回" leftWidth="200rpx" rightWidth="200rpx" @clickLeft="$utils.ret()" title="聊天详情" />
			</view>
		<!-- 头 -->
		<!-- 头像 -->
		<view class="headers_box">
			<view class="photo_box">
				<view class="photo_img">
					<image src="../../static/images/liaotianxiangqingphoto.png" mode=""></image>
				</view>
				<view class="photo_word">
					设计师美美老师
				</view>
			</view>
		</view>
		<!-- 头像 -->
		
		<!-- 功能 -->
		<view class="function_box">
			<view class="function_box_item">
				<view class="item_word">置顶聊天</view>
				<view class="item_right">
				    <switch @change="switch2Change" />
				</view>
			</view>
			<view class="function_box_item">
				<view class="item_word">消息免打扰</view>
				<view class="item_right">
				    <switch @change="switch2Change" />
				</view>
			</view>
			<view class="function_box_item noborder">
				<view class="item_word">屏蔽拉黑</view>
				<view class="item_right">
				    <switch @change="switch2Change" />
				</view>
			</view>
		</view>
		<!-- 功能 -->
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
		        switch1Change: function (e) {
		            console.log('switch1 发生 change 事件，携带值为', e.detail.value)
		        },
		        switch2Change: function (e) {
		            console.log('switch2 发生 change 事件，携带值为', e.detail.value)
		        }
		    }
	}
</script>

<style>
@import '../../static/css/ChatDetails.css'
</style>
